﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Orders
{
    public class OrderStatusHistory : FullAuditedEntity<long>
    {
        /// <summary>
        /// 订单id
        /// </summary>
        public long OrderId { get; set; }
        [ForeignKey("OrderId")]
        public virtual Order Order { get; set; }
        /// <summary>
        ///  状态（-1：取消，0：未提交，1：待付款，2：已付款，3：已成团，4：已发货，5：已收货，6：已评价）
        /// </summary>
        public OrderStatus Status { get; set; }
    }
}
